
package org.apache.solr.search;

import org.apache.solr.common.params.SolrParams;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.request.SolrQueryRequest;

public class SpatialBoxQParserPlugin extends SpatialFilterQParserPlugin {

    public static String NAME = "bbox";

    @Override
    public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req) {

        return new SpatialFilterQParser(qstr, localParams, params, req, true);
    }

    @Override
    public void init(NamedList args) {
    }
}
